<?php /* Smarty version 2.6.26, created on 2010-05-30 15:09:56
         compiled from ../aside.tpl.htm */ ?>
 <div class="left">
  <!-- <div class="left_layout left_ad"><a href="#"><img src="<?php echo $this->_tpl_vars['base_path']; ?>
/images/ad_area.gif" align="absmiddle" /></a></div> -->
 
 
<?php if ($this->_tpl_vars['controller'] != 'softwares'): ?>
  <div class="left_layout">
   <div class="type_title font_bold">产品类别</div>
   <div class="type_list">
   
   <?php $_from = $this->_tpl_vars['product_categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['product_category']):
?>
    <div class="type_top">
        <h5>
	        <a href="<?php echo $this->_tpl_vars['base_url']; ?>
/products/category/id/<?php echo $this->_tpl_vars['product_category']['id']; ?>
">
	        <?php echo $this->_tpl_vars['product_category']['name']; ?>

	        </a>
        </h5>
    </div>
    <ul>
     <?php $_from = $this->_tpl_vars['product_category']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['product_subcategory']):
?>
     <li>
        <a href="<?php echo $this->_tpl_vars['base_url']; ?>
/products/subcategory/id/<?php echo $this->_tpl_vars['product_subcategory']['id']; ?>
">
            <?php echo $this->_tpl_vars['product_subcategory']['name']; ?>

        </a>
     </li>
     <?php endforeach; endif; unset($_from); ?>
    </ul>
   <?php endforeach; endif; unset($_from); ?>

   </div>
   <div class="bt_bg"></div>  
  </div>
<?php else: ?>
  <div class="left_layout">
   <div class="type_title font_bold">下载分类</div>
   <div class="type_list">
   <?php $_from = $this->_tpl_vars['download_categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['download_category']):
?>
    <div class="type_top"><h5>
        <a href="<?php echo $this->_tpl_vars['base_url']; ?>
/<?php echo $this->_tpl_vars['controller']; ?>
/category/id/<?php echo $this->_tpl_vars['download_category']['id']; ?>
">
            <?php echo $this->_tpl_vars['download_category']['name']; ?>
</a></h5></div>
   <?php endforeach; endif; unset($_from); ?>
   </div>
   <div class="bt_bg"></div>  
  </div>
<?php endif; ?>
  

  <div class="left_layout">
   <div class="select">
    <div id="lt"></div>
    <div class="font_bold" id="ct">产品搜索</div>
    <div id="rt"></div>
   </div>
   <dl class="type_list select_box">
    <dt class="font_bold item_over">选择××××，成就你我明天！</dt>
    <form action="<?php echo $this->_tpl_vars['base_url']; ?>
/products/search/" method="get">
    <dd class="font_bold">关键词：<input name="key" type="text" size="15" />
    </dd>
    <dd>
    <select name="search_id">
      <option value="">选择产品类别</option>
      <?php echo $this->_tpl_vars['categories_options']; ?>

    </select>&nbsp;
    <input name="提交" type="submit" class="input_btn" value=" " />
    </dd>
    </form>
   </dl>
   <div class="bt_bg"></div>  
  </div>
  
  <div class="left_layout left_ad"><a href="#"><img src="<?php echo $this->_tpl_vars['base_path']; ?>
/images/ad0.jpg" align="absmiddle" /></a></div>
  
<?php if ($this->_tpl_vars['controller'] != 'contact-us'): ?>
  <div class="left_layout">
   <div class="tp_bg"></div>
   <div class="type_list contact">
    <div class="contact_bar font_bold">联系我们</div>
    <div class="contact_bar linkman"><span>联系人：陈先生</span></div>
    <ul>
     <li><span>业务传真</span>：0592-2383996</li>    
     <li><img src="<?php echo $this->_tpl_vars['base_path']; ?>
/images/phone_icon.gif" align="absmiddle" />&nbsp;0592-2222356/2296106</li>
     <li>QQ<span>交谈</span>：<a href="#"><img src="<?php echo $this->_tpl_vars['base_path']; ?>
/images/qq.gif" align="absmiddle" /></a></li>
     <li style="border:none;">Msn：csb_yxt@hotmail.com</li>
    </ul>
   </div> 
   <div class="bt_bg"></div>  
  </div>
<?php endif; ?>
 </div>

 
 <div class="right">
  <div class="right_ad">
    <a href="<?php echo $this->_tpl_vars['base_url']; ?>
/"><img src="<?php echo $this->_tpl_vars['base_path']; ?>
/images/right_ad.jpg" align="absmiddle" /></a>
  </div>